WPForms\Forms\Fields\PaymentTotal\Field A

Total Complexity 70
Dependencies 1
Dependents 0
Total lines 787
Lines of code 369
Logical lines of code 156
Comment lines 285
Methods 24
Properties 0

Methods 24

Method Rating Maintainability Complexity Lines of code
prepare_payment_field_choices()
A
50 9 25
field_display()
S
48 5 34
get_classic_dropdown_default_choice_key()
S
60 6 12
prepare_payment_fields_data()
S
51 5 25
order_summary_confirmation()
S
56 5 19
calculate_total_static()
S
58 5 15
summary_option()
S
49 3 37
prepare_payment_field_single()
S
55 4 18
field_properties()
S
57 4 15
validate()
S
69 4 5
prepare_builder_preview_data()
S
48 1 35
field_options()
S
51 1 32
get_payment_field_min_quantity()
S
69 3 6
preview_field_class()
S
66 3 9
format()
S
60 2 12
summary_option_notice()
S
63 2 11
field_preview()
S
58 1 15
add_confirmation_setting()
S
60 1 15
hooks()
S
65 1 8
is_summary_enabled()
S
79 1 3
is_fallback_population_allowed()
S
82 1 3
is_dynamic_population_allowed()
S
82 1 3
calculate_total()
S
78 1 3
init()
S
65 1 9